package com.lhd.entity.po;

import java.io.Serializable;

/**
 * @Author: liuhd
 * @Date: 2025/03/16
 * @Description: 学习通中的班级（一个course下可以有多个sys_class）
 */
public class SysClass implements Serializable {
	private Integer id;

	private String name;

	/**
	 * 所属课程id
	 */
	private Integer cid;

	/**
	 * 学生数
	 */
	private Integer totals;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getTotals() {
		return totals;
	}

	public void setTotals(Integer totals) {
		this.totals = totals;
	}

	@Override
	public String toString() {
		return "id : " + (id == null ? "空" : id) + ",name : " + (name == null ? "空" : name) + ",所属课程id : " + (cid == null ? "空" : cid) + ",学生数 : " + (totals == null ? "空" : totals) ;
	}
}